package com.zahb.qadx.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;


public class NoteBean {


    /**
     * total : 2
     * current : 1
     * hitCount : false
     * pages : 1
     * size : 10
     * optimizeCountSql : true
     * records : [{"isChoice":null,"noteName":"白马.pdf","lectureNoteId":13,"sort":2,"url":"20210118/1610961687394923.pdf"},{"isChoice":null,"noteName":"原始美人.pdf","lectureNoteId":14,"sort":3,"url":"20210118/1610961687669641.pdf"}]
     * searchCount : true
     * orders : []
     */
    private int total;
    private int current;
    private boolean hitCount;
    private int pages;
    private int size;
    private boolean optimizeCountSql;
    @SerializedName("records")
    private List<RecordsEntity> records;
    private boolean searchCount;
    private List<?> orders;

    public void setTotal(int total) {
        this.total = total;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public void setHitCount(boolean hitCount) {
        this.hitCount = hitCount;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public void setOptimizeCountSql(boolean optimizeCountSql) {
        this.optimizeCountSql = optimizeCountSql;
    }

    public void setRecords(List<RecordsEntity> records) {
        this.records = records;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public void setOrders(List<?> orders) {
        this.orders = orders;
    }

    public int getTotal() {
        return total;
    }

    public int getCurrent() {
        return current;
    }

    public boolean isHitCount() {
        return hitCount;
    }

    public int getPages() {
        return pages;
    }

    public int getSize() {
        return size;
    }

    public boolean isOptimizeCountSql() {
        return optimizeCountSql;
    }

    public List<RecordsEntity> getRecords() {
        return records;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public List<?> getOrders() {
        return orders;
    }

    public static class RecordsEntity {
        /**
         * isChoice : null
         * noteName : 白马.pdf
         * lectureNoteId : 13
         * sort : 2
         * url : 20210118/1610961687394923.pdf
         */
        private String isChoice;
        @SerializedName("noteName")
        private String noteName;
        private int lectureNoteId;
        private int sort;
        @SerializedName("url")
        private String url;

        public void setIsChoice(String isChoice) {
            this.isChoice = isChoice;
        }

        public void setNoteName(String noteName) {
            this.noteName = noteName;
        }

        public void setLectureNoteId(int lectureNoteId) {
            this.lectureNoteId = lectureNoteId;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getIsChoice() {
            return isChoice;
        }

        public String getNoteName() {
            return noteName;
        }

        public int getLectureNoteId() {
            return lectureNoteId;
        }

        public int getSort() {
            return sort;
        }

        public String getUrl() {
            return url;
        }
    }
}
